-
-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(linkace): set fsGroup to www-data (82) #3050
Conversation
Meh, I've ever seen only 3-4 apps requiring A solution is to edit the dockerfile on our mirror and create an empty .env file. Configmap would be read-only. |
cant we just chown the log dir using an initscript and keep it on 568? |
Probably not. if I remember right, the user running the process that writes on logs dir is |
Yes, it's what caused #3006
The empty file is actually there, but only writable by root. I also tried setting PUID to 0 but the web process always runs as
The same goes for the backup dir. |
What happens if you run it with user 0, group 82 and fsgroup 82 ? |
That works, too, just as my fix with (0, 0, 82). What are you hoping to achieve with this? Here's the
|
To make the |
Nope, same issue:
|
Well, in that case and considering the |
I agree that this is an upstream issue, so I opened one: If I understand correctly this is a limitation of the first-time setup wizard which is probably more complicated to implement than your idea to modify our mirror image. I think the change is small enough, improves usability, and possible reduces the number of support tickets coming your way. |
Now I remember why I was familiar with this |
This PR is locked to prevent necro-posting on closed PRs. Please create a issue or contact staff on discord if you want to further discuss this |
Description
Starting up Linkace currently causes 500 internal server errors because the web process is unable to write to the log directory.
⚙️ Type of change
🧪 How Has This Been Tested?
Setting fsGroup to 82 through Web GUI fixes 500 errors. See also: Kovah/LinkAce#332
📃 Notes:
One issue still remaining is that
.env
is not writable during the setup process. The user has to use the container shell tochmod 777 .env
to be able to finish the setup. I think this is an upstream issue, but is there maybe an easy fix we can implement?✔️ Checklist: